<?php

declare(strict_types=1);

namespace App\CustHub\Mapper;

use App\CustHub\Model\ChContactBwDeleteRecord;
use Mine\Abstracts\AbstractMapper;

/**
 * 黑白名单删除记录 Mapper 类
 */
class ChContactBwDeleteRecordMapper extends AbstractMapper
{
    public function assignModel()
    {
        $this->model = ChContactBwDeleteRecord::class;
    }


    public function saveRecord(array $data)
    {
        $this->filterExecuteAttributes($data);
        return $this->save($data);
    }
}